var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var smithyConf = require('../../app/config/smithyConf');
var dataApi = require('../../app/libs/dataApi');

suite('smithyConf', function () {
    suite('smithyConf', function () {
        test('获取 工人开启限制等级', function () {
            assert.equal(smithyConf.getOpenLv(2) !== null, true);
            // console.log(smithyConf.getOpenLv(2));
        });
    });

    suite('getProductionRange', function () {
        test('根据工作的ID 获取对应时间的产出最大和最小产出数量', function () {
            assert.equal(smithyConf.getProductionRange(2, 36000) !== null, true);
            // console.log(smithyConf.getProductionRange(2, 3600));
        });
    });

    suite('getPoint', function () {
        test('根据铁匠ID 获取对应钻石消耗', function () {
            assert.equal(smithyConf.getPoint(2) !== null, true);
            // console.log(smithyConf.getPoint(2));
        });
    });

    suite('getProbabilityInfo', function () {
        test('根据铁匠ID 获取对应钻石消耗', function () {
            smithyConf.getProbabilityInfo(2);
            // console.log(smithyConf.getProbabilityInfo(2));
        });
    });
});
